package AI.screens
{
	import com.cheezeworld.AI.Behaviors.*;
	import com.cheezeworld.AI.WanderRenderer;
	import com.cheezeworld.entity.*;
	import com.cheezeworld.screens.IScreenItem;

	public class WanderDemo extends AIDemoScreen
	{
		public function WanderDemo(a_parentScreen:IScreenItem=null)
		{
			super(a_parentScreen);
			
			screenLabel = "Wander";
			
			// Create some boids
			
			var boid:Boid;
			for( var i:int = 0; i < 6; i++ )
			{
				boid = _factory.getEntity( "Boid1", _gameworld ) as Boid;
				boid.steering.addBehavior( new Wander() );
				_factory.getRenderer( boid, WanderRenderer );
			}
			
			
			
		}	
		
	}
}